public class PetDog {
    public String name;//狗的名字
    public String color;
    public void barks(){
        System.out.println(name+": 汪汪汪···");
    }
    public void wags(){
        System.out.println(name+" 摇尾巴···");
    }
}
